package org.momo.rpc.protocol.constant;

public enum MessageStatus {
    RESPONSE_SUCCESS(0),

    RESPONSE_ERROR(1),

    RESPONSE_TIMEOUT(2),

    CONNECT_ERROR(3);

    private byte code;

    MessageStatus(int i) {
        this.code = (byte) i;
    }


    public byte getCode() {
        return this.code;
    }
}
